# $Id: PKGBUILD 66136 2012-02-23 01:43:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=python2-vorbissimple
pkgver=0.0.2
pkgrel=6
pkgdesc="Python bindings for vorbissimple"
arch=('i686' 'x86_64')
url="http://kamaelia.sourceforge.net"
license=('MPL')
depends=('python2' 'vorbissimple')
makedepends=('pyrex')
source=(http://downloads.sourceforge.net/kamaelia/vorbissimple-$pkgver.tar.gz)
md5sums=('332077b25a4c9547947ab0922361ffda')

build() {
  cd $srcdir/vorbissimple-$pkgver/python
  sed -i 's#__new__#__cinit__#' vorbissimple.pyx
  python2 setup.py install --root=$pkgdir
}
